package com.aaa.sso.feign;

import com.aaa.entity.Menu;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @InterfaceName RoleMenuFeign
 * @Description
 * @Author 崔灿
 * @LastChangeDate 2023/2/25 10:14
 * @Version v1.0
 */
@FeignClient(value = "car-system")
public interface RoleMenuFeign {

    @GetMapping("/system/rolemenu/getMenuByUserid/{userid}")
    public List<Menu> getMenuByUserid(@PathVariable Integer userid);
}
